# -*- coding: utf-8 -*-
# @Time    : 2019/7/22 19:27
# @Author  : Weymouth
# @Email   : 261229090@qq.com
# @File    : 格式化输出.py
# @Software: PyCharm
# ---------------------------------------------------

name = input("Name:")
age = int(input("Age:"))
job = input("Job:")
salary = input("Salary:")

# if salary.isdigit():
#     salary = int(salary)
# else:
#     exit("salary must input digit!")

msg = '''
---------- info of %s ----------
Name: %s
Age: %d
Job: %s
Salary: %d
You will be retired in %s years
---------- end ----------
''' %(name, name, age, job, salary, 65-age)

print(msg)